#ifndef FLASHINGANIMATION_H
#define FLASHINGANIMATION_H

#include "Animation.h"

typedef unsigned char frame_t;

class FlashingAnimation : public Animation {
    frame_t	repetitions;
    delay_t	hideDelay;
    delay_t	showDelay;
public:
	FlashingAnimation(frame_t n, delay_t show, delay_t hide,animid_t id );
    void SetRepetitions(frame_t n);
    frame_t GetRepetitions(void) const;
    void SetHideDelay(delay_t d);
    delay_t GetHideDelay(void) const;
    void SetShowDelay(delay_t d);
    delay_t GetShowDelay(void) const;
    Animation* Clone(animid_t newId) const;
};

#endif